package com.htx.oldbookpavilion.service.homeservice;

import com.htx.oldbookpavilion.entity.ShoppingList;

public interface BookDetailService {

    /**
     * 将指定书籍添加到购书清单
     * @param shoppingList
     * @return
     */
    boolean addToShoppingList(ShoppingList shoppingList);

    /**
     * 校验该书籍是否已经添加到购书清单
     * @param shoppingList
     * @return
     */
    boolean isAddToShoppingList(ShoppingList shoppingList);
}
